<script setup lang="ts">
import { tableData } from "./data";
/** tableData
 * [  {
    date,
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles"
  },...]
 */
const columns: TableColumnList = [
  {
    label: "日期",
    prop: "date"
  },
  {
    label: "姓名",
    prop: "name"
  },
  {
    label: "地址",
    prop: "address"
  }
];


</script>

<template>
  <pure-table :data="tableData" :columns="columns" />
</template>
